package com.itheima.tanhua.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.tanhuan.pojo.db.UserInfo;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserInfoMapper extends BaseMapper<UserInfo> {
    @Insert("INSERT INTO tb_user_info  (id, nickname,gender,city,birthday) VALUES (#{id},#{nickname},#{gender},#{city},#{birthday})")
    void saveUserInfo(UserInfo userInfo);
}
